home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / resources / battmembitsshared.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  2KB  |  88 lines

  1. #ifndef RESOURCES_BATTMEMBITSSHARED_H
  2. #define RESOURCES_BATTMEMBITSSHARED_H 1
  3. /*
  4. ** battmembitsshared.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15.  
  16.  
  17. /*
  18.  * Shared bits in the battery-backedup ram.
  19.  *
  20.  *  Bits 64 and above
  21.  */
  22.  
  23. /*
  24.  * SHARED_AMNESIA
  25.  *
  26.  *      The battery-backedup memory has had a memory loss.
  27.  *      This bit is used as a flag that the user should be
  28.  *      notified that all battery-backed bit have been
  29.  *      reset and that some attention is required. Zero
  30.  *      indicates that a memory loss has occured.
  31.  */
  32.  
  33. #define BATTMEM_SHARED_AMNESIA_ADDR 64
  34. #define BATTMEM_SHARED_AMNESIA_LEN  1
  35.  
  36.  
  37. /*
  38.  * SCSI_HOST_ID
  39.  *
  40.  *      a 3 bit field (0-7) that is stored in complemented form
  41.  *      (this is so that default value of 0 really means 7)
  42.  *      It's used to set the A3000 controllers SCSI ID (on reset)
  43.  */
  44.  
  45. #define BATTMEM_SCSI_HOST_ID_ADDR   65
  46. #define BATTMEM_SCSI_HOST_ID_LEN    3
  47.  
  48.  
  49. /*
  50.  * SCSI_SYNC_XFER
  51.  *
  52.  *      determines if the driver should initiate synchronous
  53.  *      transfer requests or leave it to the drive to send the
  54.  *      first request.  This supports drives that crash or
  55.  *      otherwise get confused when presented with a sync xfer
  56.  *      message.  Default=0=sync xfer not initiated.
  57.  */
  58.  
  59. #define BATTMEM_SCSI_SYNC_XFER_ADDR 68
  60. #define BATTMEM_SCSI_SYNC_XFER_LEN  1
  61.  
  62. /*
  63.  * SCSI_FAST_SYNC
  64.  *
  65.  *      determines if the driver should initiate fast synchronous
  66.  *      transfer requests (>5MB/s) instead of older <=5MB/s requests.
  67.  *      Note that this has no effect if synchronous transfers are not
  68.  *      negotiated by either side.
  69.  *      Default=0=fast sync xfer used.
  70.  */
  71.  
  72. #define BATTMEM_SCSI_FAST_SYNC_ADDR 69
  73. #define BATTMEM_SCSI_FAST_SYNC_LEN  1
  74.  
  75. /*
  76.  * SCSI_TAG_QUEUES
  77.  *
  78.  *      determines if the driver should use SCSI-2 tagged queuing
  79.  *      which allows the drive to accept and reorder multiple read
  80.  *      and write requests.
  81.  *      Default=0=tagged queuing NOT enabled
  82.  */
  83.  
  84. #define BATTMEM_SCSI_TAG_QUEUES_ADDR    70
  85. #define BATTMEM_SCSI_TAG_QUEUES_LEN 1
  86.  
  87. #endif /* RESOURCES_BATTMEMBITSSHARED_H */
  88.